package com.zhang.service.client;

import com.zhang.entity.response.ResponseResult;
import com.zhang.entity.vo.ExecuteCommandBody;
import org.springframework.stereotype.Component;

/**
 * User: 张
 * Date: 2024-11-28
 * Time: 11:22
 * Description:
 */
@Component
public class QuartzClientFallback implements QuartzClient{
    @Override
    public String helloTest() {
        return "error";
    }

    @Override
    public ResponseResult<Object> executeCommand(ExecuteCommandBody executeCommandBody) {
        return ResponseResult.error();
    }
}
